Blitz (143/213)

From:David McMinn
Date:25 May 2000 at 10:29:27
Subject:Re: Recursive directory scans... :)

Hi Gareth

> > You could also have a look at the directory scanning source in my dir2html
> > program (http://de.aminet.net/aminetbin/find?dir2html). It does recursive
> > scans and it works :)
>
> Now, maybe I'm just not looking hard enough, but I can't seem to find
> anything in y our code resembling a search function... except in shitloads
> of ASM :)

I wouldn't say shitloads, just one function :) Besides, the ASM is for bubble
sorting :)

The directory scanning is in the createindex function (which gets called
recursively if you select to scann all subdirs), but now that you mention it,
it probably is OTT for an example of recursive directory scanning.

It is in there, hidden under all the crap for sorting out whether you are
saving to one file or not, and doing the HTML crap. I can extract the dir
scanning code if you want?



|) /\ \/ ][ |) |\/| c |\/| ][ |\| |\| | dave@satanicdreams.com
http://members.xoom.com/David_McMinn | ICQ=16827694
There are very few personal problems that cannot be solved
through a suitable application of high explosives.

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie